﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WjAutoConfigApp.Common;

namespace WjAutoConfigApp
{
    public partial class SelectTpyeForm : Form
    {
        public SelectTpyeForm()
        {
            InitializeComponent();
            combSelect.SelectedIndex = 0;
        }


        public SelectTpyeForm(AreaModel areaModel)
        {
            InitializeComponent();
        }


        /// <summary>
        /// 确定
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button4_Click(object sender, EventArgs e)
        {
            //点击跳转
            if (combSelect.SelectedIndex == 0)
            {
                LaneAllPropertiesSetingForm form = new LaneAllPropertiesSetingForm();
                form.Show();
            }
            else if (combSelect.SelectedIndex == 1)
            {
                LanePartPropertySetingForm form = new LanePartPropertySetingForm();
                form.Show();
            }
            this.Close();
        }
    }
}
